package com.vito.framework.system.notice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.vito.framework.system.notice.model.NoticeBean;

import java.util.List;
import java.util.Map;

public interface NoticeMapper extends BaseMapper<NoticeBean> {

	IPage<NoticeBean> getNoticeList(Page<NoticeBean> page, Map<String, Object> paramMap);

	void updateNoticeReadFlag(NoticeBean noticeBean);

	List<NoticeBean> noticeList(Map<String, Object> paramMap);

	NoticeBean getNotice(String noticeId);
}
